|
Euler's formula, named after Leonhard Euler, is a mathematical formula in complex analysis that establishes the deep relationship between the trigonometric functions and the complex exponential function. Euler's formula states that, for any real number x,
where e is the base of the natural logarithm, i is the imaginary unit, and cos and sin are the trigonometric functions cosine and sine respectively, with the argument x given in radians. This complex exponential function is sometimes denoted cis(x). The formula is still valid if x is a complex number, and so some authors refer to the more general complex version as Euler's formula.[1]
Richard Feynman called Euler's formula "our jewel" and "one of the most remarkable, almost astounding, formulas in all of mathematics."[2]
Contents |
It was Johann Bernoulli who noted that [3]
And since
the above equation tells us something about complex logarithms. Bernoulli, however, did not evaluate the integral. His correspondence with Euler (who also knew the above equation) shows that he didn't fully understand logarithms. Euler also suggested that the complex logarithms can have infinitely many values.
Meanwhile, Roger Cotes, in 1714, discovered that
(where "ln" means natural logarithm, i.e. log with base e).[4] We now know that the above equation is true modulo integer multiples of , but Cotes missed the fact that a complex logarithm can have infinitely many values which owes to the periodicity of the trigonometric functions.
It was Euler (presumably around 1740) who turned his attention to the exponential function instead of logarithms, and obtained the correct formula now named after him. It was published in 1748, and his proof was based on the infinite series of both sides being equal. Neither of these men saw the geometrical interpretation of the formula: the view of complex numbers as points in the complex plane arose only some 50 years later (see Caspar Wessel).
This formula can be interpreted as saying that the function eix traces out the unit circle in the complex number plane as x ranges through the real numbers. Here, x is the angle that a line connecting the origin with a point on the unit circle makes with the positive real axis, measured counter clockwise and in radians.
The original proof is based on the Taylor series expansions of the exponential function ez (where z is a complex number) and of sin x and cos x for real numbers x (see below). In fact, the same proof shows that Euler's formula is even valid for all complex numbers z.
A point in the complex plane can be represented by a complex number written in cartesian coordinates. Euler's formula provides a means of conversion between cartesian coordinates and polar coordinates. The polar form simplifies the mathematics when used in multiplication or powers of complex numbers. Any complex number z = x + iy can be written as
where
is the argument of z—i.e., the angle between the x axis and the vector z measured counterclockwise and in radians—which is defined up to addition of 2π. Many texts write tan-1(y/x) instead of atan2(y,x) but this needs adjustment when x ≤ 0.
Now, taking this derived formula, we can use Euler's formula to define the logarithm of a complex number. To do this, we also use the definition of the logarithm (as the inverse operator of exponentiation) that
and that
both valid for any complex numbers a and b.
Therefore, one can write:
for any z ≠ 0. Taking the logarithm of both sides shows that:
and in fact this can be used as the definition for the complex logarithm. The logarithm of a complex number is thus a multi-valued function, because is multi-valued.
Finally, the other exponential law
which can be seen to hold for all integers k, together with Euler's formula, implies several trigonometric identities as well as de Moivre's formula.
Euler's formula provides a powerful connection between analysis and trigonometry, and provides an interpretation of the sine and cosine functions as weighted sums of the exponential function:
The two equations above can be derived by adding or subtracting Euler's formulas:
and solving for either cosine or sine.
These formulas can even serve as the definition of the trigonometric functions for complex arguments x. For example, letting x = iy, we have:
Complex exponentials can simplify trigonometry, because they are easier to manipulate than their sinusoidal components. One technique is simply to convert sinusoids into equivalent expressions in terms of exponentials. After the manipulations, the simplified result is still real-valued. For example:
Another technique is to represent the sinusoids in terms of the real part of a more complex expression, and perform the manipulations on the complex expression. For example:
This formula is used for recursive generation of cos(nx) for integer values of n and arbitrary x (in radians).
In differential equations, the function eix is often used to simplify derivations, even if the final answer is a real function involving sine and cosine. The reason for this is that the complex exponential is the eigenfunction of differentiation. Euler's identity is an easy consequence of Euler's formula.
In electrical engineering and other fields, signals that vary periodically over time are often described as a combination of sine and cosine functions (see Fourier analysis), and these are more conveniently expressed as the real part of exponential functions with imaginary exponents, using Euler's formula. Also, phasor analysis of circuits can include Euler's formula to represent the impedance of a capacitor or an inductor.
The exponential function ex for real values of x may be defined in a few different equivalent ways (see Characterizations of the exponential function). Several of these methods may be directly extended to give definitions of ez for complex values of z simply by substituting z in place of x and using the complex algebraic operations. In particular we may use either of the two following definitions which are equivalent. From a more advanced perspective, each of these definitions may be interpreted as giving the unique analytic continuation of ex to the complex plane.
For complex z
Using the ratio test it is possible to show that this power series has an infinite radius of convergence, and so defines ez for all complex z.
For complex z
Various proofs of the formula are possible.
Here is a proof of Euler's formula using power series expansions as well as basic facts about the powers of i:[5]
and so on. Using now the power series definition from above we see that for real values of x
In the last step we have simply recognized the Taylor series for sin(x) and cos(x). The rearrangement of terms is justified because each series is absolutely convergent.
Here is a proof of Euler's formula starting with the definition
and geometric properties of multiplication in the complex plane.[6] In particular, a complex number z=x+iy has an absolute value defined as and an argument defined by arg z = atan2(x,y) (atan2 is a variant of the arctangent function). In these terms, a complex multiplication is performed by adding the arguments () and multiplying the absolute values (). (These facts are sometimes proved using Euler's theorem itself, but can alternatively be proved directly with algebra and trigonometry.) This is the basis for a two-step proof of Euler's theorem, which first calculates the absolute value of , and second calculates the argument of .
The first step is to calculate the absolute value of :
To evaluate this, there is an approximation:
for real numbers very close to 0. (This approximation is justified by the binomial theorem or by using calculus.) As n gets larger and larger, x2/n2 gets very close to zero, so we can use this approximation:
The second step is to calculate the argument of . Because (as mentioned above), it follows that . Therefore,
There is an approximation:
for real numbers very close to 0. (This approximation is related to the small-angle approximation in trigonometry, when is small and measured in radians. It can be derived using either geometry or calculus.) Therefore,
Combining these two steps, is the complex number whose absolute value is 1 and whose argument is x. In other words, it is the point on the unit circle of the complex plane which is x radians counterclockwise from the positive real axis. This point has coordinates in the complex plane. Therefore, .
A well-known property of the real exponential function is that it equals its own derivative:
The complex-valued exponential function also satisfies the same differential equation[7]:
Therefore, by the chain rule:
Then define the function
Because the product rule holds for complex valued functions of a real variable for the same reason as in the real case, the derivative of ƒ(x) according to the product rule is:
Therefore, ƒ(x) must be a constant function in x. Because ƒ(0) = 1 by inspection, ƒ(x) = 1, giving
Multiplying both sides by cos x + i sin x, we obtain
Here is another proof using calculus. The starting assumption is the same as in the previous proof:
Define a new function ƒ(x) of the real variable x as
Then we may check that
Thus ƒ(x) and eix satisfy the same first-order ordinary differential equation (here the complex values are considered as points in the plane ℝ2). Note also that both functions are equal to 1 at x = 0, then by the uniqueness of solutions to ordinary differential equations they must be equal everywhere (see Picard–Lindelöf theorem and note the comments concerning global uniqueness in the proof section there).